[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 strlwr()                Convert String to Lower Case

 #include   <string.h>                   Required for declarations only

 char       *strlwr(string);
 char       *string;                     String to be converted

    strlwr() converts all uppercase letters in 'string' to lowercase.
    Other characters are not affected.

       Returns:     A pointer to 'string'.  There is no error return.

   -------------------------------- Example ---------------------------------

    This example converts all the uppercase letters in 'str' to
    lowercase.

           #include <string.h>

           char str1[128] = "Some UPPERS and some lowers";

           main()
           {
               strlwr(str1);
               printf("%s",str1);
           }


See Also: strupr()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson